package com.kitchen.ui.dialog.task
{
	import com.kitchen.AbstractIcon;
	
	import flash.display.BitmapData;
	import flash.geom.Point;
	import flash.geom.Rectangle;

	internal class TaskContentIcon extends AbstractIcon
	{
		public function TaskContentIcon(bitmapData:BitmapData)
		{
			super(bitmapData);
		}
		
		override protected function cutRec(bitmapData:BitmapData):BitmapData{
			this.w = 370;
			this.h = 375;
			var rec:Rectangle = new Rectangle(650, 591, this.w, this.h);
			var bitdata:BitmapData = new BitmapData(this.w, this.h);
			bitdata.copyPixels(bitmapData, rec, new Point());
			return bitdata;
		}
	}
}